home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls033e.ltr < prev    next >
Text File  |  1995-01-26  |  13KB  |  378 lines

  1. Mosaic 2.x for SCO                    
  2.  
  3. NCSA Mosaic provides a consistent and easy-to-use hypermedia-based
  4. interface into a wide variety of networked information sources,
  5. including Gopher, WAIS, World Wide Web, NNTP/Usenet news, Techinfo,
  6. FTP, local filesystems, Archie, finger, Hyper-G, HyTelnet, TeXinfo,
  7. telnet, tn3270, and more, via your internet connection.
  8.  
  9. This is linked with X shared libs; it needs to be run on ODT 3.0,
  10. or ODT 2.0 with the X11R5 runtime shared libraries EFS, orderable
  11. as model number SA776-UX78-1.0.0, or downloadable as efs134
  12.  
  13. In addition to the executable Mosaic binary, you should download
  14. the tls033.app-def configuration file and install it in your
  15. system as: /usr/lib/X11/app-defaults/Mosaic
  16. Study this file; you'll find many configuration options.
  17.  
  18. Also,  you should read the NCSA Mosaic documentation, available
  19. online from NCSA.  The "Help" menu in the upper right hand corner of your
  20. Mosaic window will take you to the Mosaic doc, which has detailed
  21. instructions for every configuration option that Mosaic takes.  Usually
  22. you can find what you need just by looking at the app-defaults file
  23. itself, but the doc is the place to turn for official answers.
  24.  
  25. You can set Mosaic's idea of your "home" page in several ways...
  26.  
  27.   1. In the Mosaic app-defaults file, set the resource "HomeDocument" to the
  28.      URL you want.
  29.     e.g.    Mosaic@HomeDocument:    http://www.sco.com
  30.  
  31.   2. Set the "WWW_HOME" environment variable to the URL you want.
  32.     e.g.    $ WWW_HOME=http://www.sco.com/
  33.         $ export WWW_HOME
  34.         $ Mosaic &
  35.  
  36.   3. Just run Mosaic with the desired URL on the command line
  37.     e.g.    $ Mosaic http://www.sco.com/
  38.  
  39. We are indebted to Kamal Mostafa for help providing this to SCO
  40. users.
  41.  
  42. Dion L. Johnson
  43. SCO Product Manager - Development Systems  400 Encinal St. Santa Cruz, CA 95061
  44. dionj@sco.com   Compuserve: 71712,3301   FAX: 408-427-5417  Voice: 408-427-7565
  45. ===============================================================================
  46.  
  47. Useful notes from Mike....  
  48.  
  49. XMosaic - What is it?
  50. *********************
  51.  
  52. To quote NCSA: 
  53.  
  54.    xmosaic is an Internet information browser and World Wide Web client.
  55.  
  56. What does that mean? Well, it enables you to view and retrieve information from
  57. anywhere on the Internet and in a wide variety of formats. 
  58.  
  59. Basically, it brings together all the different ways you can
  60. access information on the Internet into one easy to use
  61. interface.
  62.  
  63. But it doesn't just end there, it achieves this by using
  64. hypermedia on a grand scale: the World Wide Web.
  65.  
  66. What is WWW?
  67. ************
  68.  
  69. The WWW is world-wide hypermedia information retrieval system. Documents on
  70. the Web can be linked to other documents, creating a Web of information and can
  71. include graphics, sound and movies. 
  72.  
  73. How does xmosaic work?
  74. **********************
  75.  
  76. To weave a web, xmosaic uses HTML, HyperText Markup Language,
  77. (not to be confused with HTML - Hi-Time Markup Language).  HTML
  78. is a basic SGML DTD.  HTML allows the inclusion of graphics,
  79. sound and movies, data entry via forms, links to other documents,
  80. as well as providing typographical markup for text.
  81.  
  82. xmosaic parses these HTML files and allows you to follow the
  83. links, view the graphics, hear the sounds etc.
  84.  
  85. The HTML files are provided by Web Servers. Web Servers are machines running a
  86. special daemon, httpd, which receives requests from a World Wide Web client like
  87. XMosaic, and sends it back the requested document. 
  88.  
  89. httpd is a very secure way of allowing anonymous access to your
  90. machine because you tell it where it's "root" directory for
  91. document requests is.  This means people cannot get at
  92. directories above the directory you define as being "root".
  93.  
  94. Also it can deny access to certain directories or even files by
  95. machine or group of machines.  You can even have a password
  96. control system to limit individuls access to files.
  97.  
  98. So httpd is more than just a document server.  You can create
  99. your own arbitary link types by creating an executable file which
  100. will deal with the URL you send it.  For example you can create a
  101. date link which when clicked on will return the current date.
  102.  
  103. It can also process data from a form or image map. More about those later. 
  104.  
  105. If you request a directory, rather than a particular HTML file,
  106. it first looks to see if there is an index.html file in that
  107. directory and sends that, or builds an index of the directory
  108. contents and sends that.  Most people have index.html as their
  109. home page in the "root" directory, and links simply point to the
  110. machine.  pubsco is set up like that.
  111.  
  112. In the future group annotations will be available. 
  113.  
  114. It also logs all requests, so you can monitor usage. 
  115.  
  116. HTML Overview
  117. *************
  118.  
  119. HTML documents are in plain text format like troff files. 
  120.  
  121. HTML uses tags to tell xmosaic how to display the text. 
  122.  
  123. HTML tags consist of a left angular bracket (less than), followed
  124. by the tag name and closed by a right angular bracket (greater
  125. than).  Tags are usually paired, with the ending tag the same as
  126. the starting tag with a slash (/) preceding the tag name.
  127.  
  128. The primary exception to the pairing rule is the end-of-paragraph
  129. tag which does not have a closing tag.
  130.  
  131. HTML tags are not case senstive. 
  132.  
  133. HTML tags
  134. =========
  135.  
  136. Titles
  137. ++++++
  138.  
  139. Every HTML document should have a title.  The title is used
  140. primarily for document identification and is generally the same
  141. as the first heading.
  142.  
  143. Headings
  144. ++++++++
  145.  
  146. HTML has six levels of headings (numbered 1 through 6), with 1 being the most
  147. prominent. Headings are displayed in larger and/or bolder fonts than the normal body
  148. text. 
  149.  
  150. Paragraphs
  151. ++++++++++
  152.  
  153. Just like troff, carriage returns and white space in HTML files
  154. aren't significant.  Word wrapping can occur at any point in your
  155. source file, and multiple spaces are collapsed into a single
  156. space.  Where the lines break depends on the width of the viewing
  157. window.
  158.  
  159. Xmosaic 2 has a BR (Line Break) tag which breaks the line! 
  160.  
  161. Character formatting
  162. ++++++++++++++++++++
  163.  
  164. Individual words or sentences can be put in special styles.  HTML
  165. provides both semantic and physical styles The appearance of
  166. semantic styles are configured by xmosaic's defaults file.
  167. Infact the appearance of all the tags can be controlled via the
  168. defaults file.
  169.  
  170. Examples of symantic character tags are CITE, STRONG, EMPHSIS,
  171. CODE and ADDRESS.  The ADDRESS tag is generally used to specify
  172. the author of a document and provides a means of contacting the
  173. author (e.g., an email address).  I prefer to use ITALIC.
  174.  
  175. You can also specify the ITALIC and BOLD physical styles. No BOLDITALIC. 
  176.  
  177. Lists
  178. +++++
  179.  
  180. HTML supports unnumbered or bullet lists, numbered, and
  181. descriptive or variable lists.  These are coded very similar to
  182. sco.mac lists, with LI separating each item.
  183.  
  184. Lists can be arbitrarily nested.  A list item can itself contain
  185. lists.  You can also have a number of paragraphs, each themselves
  186. containing nested lists, in a single list item, and so on.
  187.  
  188. Courier Displays or Preformatted Text
  189. +++++++++++++++++++++++++++++++++++++
  190.  
  191. Use the PRE tag (which stands for ``preformatted'') to include
  192. text in a fixed-width font and to cause spaces, new lines, and
  193. tabs to be significant.  This is useful for program listings.
  194.  
  195. Special Characters
  196. ++++++++++++++++++
  197.  
  198. Three characters are special in HTML and must be escaped. They are left angle
  199. bracket, right angle bracket, and ampersand. 
  200.  
  201. The angle brackets are used to specify HTML tags, while the
  202. ampersand is used as the escape mechanism for these and other
  203. characters:
  204.  
  205.    < for <
  206.    > for >
  207.    &        for &
  208.  
  209. There are additional escape sequences, such as a whole set of
  210. sequences to support 8-bit character sets.
  211.  
  212. Linking to other documents
  213. ++++++++++++++++++++++++++
  214.  
  215. The chief power of HTML comes from its ability to link regions of
  216. text (and also images) to another document (or an
  217. image,sound,movie etc.).  These regions are typically highlighted
  218. in xmosaic by colour or underlining.
  219.  
  220. To create a link you specify the destination of the link via a
  221. URL, followed by the text (or image) which becomes the hotspot
  222. for the link.
  223.  
  224. Uniform Resource Locator
  225. ------------------------
  226.  
  227. A Uniform Resource Locator (URL) refers to the format used by WWW
  228. documents to locate other files.  A URL gives the type of
  229. resource being accessed (e.g., gopher, WAIS), the name of the
  230. host the resource is located on and the path of the file.
  231.  
  232. The different type of URL are: 
  233.  
  234. file a file on your local system 
  235. ftp a file on an anonymous ftp server 
  236. http
  237.    a file on a World Wide Web server 
  238. gopher
  239.    a file on a Gopher server 
  240. WAIS
  241.    a file on a WAIS server 
  242. news 
  243.    a newsgroup (must be available from your news server) 
  244. telnet 
  245.    opens a telnet session on the host 
  246.  
  247. Links to Specific Sections in Other Documents
  248. ---------------------------------------------
  249.  
  250. Links can also be used to move to a particular section in a document. 
  251.  
  252. Suppose you wish to set a link from document A to a specific
  253. section in document B.  First you need to set up what is called a
  254. "named anchor" in document B.  For example, to add an anchor
  255. named ``Jabberwocky" in document B.
  256.  
  257.     <A NAME="Jabberwocky">some text</A>  
  258.  
  259. Now when you create the link in document A, you include not only
  260. the filename, but also the named anchor, separated by a hash
  261. mark(``#''):
  262.  
  263.     "documentB.html#Jabberwocky"
  264.  
  265. Links to Specific Sections within the Current Document
  266. ------------------------------------------------------
  267.  
  268. The technique is exactly the same except the file name is now omitted. 
  269.  
  270. Inline Images
  271. +++++++++++++
  272.  
  273. Xmosaic is can display X Bitmap (XBM) or GIF format images inside
  274. documents.  Each image takes time to process and slows down the
  275. initial display of the document.  However, using a particular
  276. image multiple times in a document causes very little extra
  277. performance overhead compared to using the image only once
  278. because Xmosaic caches images.
  279.  
  280. By default the bottom of an image is aligned with the text, but
  281. you can change that so that the top aligns with the text.
  282.  
  283. External Images
  284. +++++++++++++++
  285.  
  286. You may want to have an image open as a separate document when a
  287. user activates a link on either a word or a smaller version of
  288. the image that you have inlined into your document.  This is
  289. considered an external image and is particularly useful because
  290. (assuming you use a word for your hypertext link) you do not have
  291. any processing time degradation when loading the main document.
  292. Even if you include a small image in your document as the
  293. hyperlink to the larger image, the processing time for the
  294. ``thumbnail'' image is less than for the full image.
  295.  
  296. To include a reference to a graphic in an external document, use
  297. a standard http URL, but point to the graphic file rather than a
  298. HTML document.  Make certain the image is in GIF, TIFF, JPEG,
  299. RGB, or HDF format.
  300.  
  301. External images are not viewed through xmosaic.  Xmosaic spawns
  302. an external viewer for the job (hence the name).
  303.  
  304. Sound & Movies
  305. ++++++++++++++
  306.  
  307. Similarly, you can call up sound and movies by pointing to the appropriate file. 
  308.  
  309. Image maps and Forms
  310. ++++++++++++++++++++
  311.  
  312. Xmosaic 2 supports image maps.  These are inline graphics which
  313. perform a different action, depending on where you clicked.
  314. Usually they take you to another document.  See the Savage Art
  315. gallery on disco.sco.com for an example.
  316.  
  317. Xmosaic 2 also supports forms which enable the user to enter data
  318. into text fields, radio boxes, check boxes, option menus, etc.
  319. This is then sent to a Web Server, which process the data and
  320. then sends you back a new document based on the data you entered.
  321.  
  322. Image maps and forms require quite a bit of work because you need
  323. to write a program which sits at your Web Server and deals with
  324. the data entered via the image map or form.
  325.  
  326. Horizontal Rule
  327. +++++++++++++++
  328.  
  329. Xmosaic 2 has an additional tag, HR, which draws a horizontal rule. 
  330.  
  331. Mike's Guide to Better HyperText documents
  332. ******************************************
  333.  
  334. A few tips to help you produce better hypertext documents: 
  335.  
  336. 1.  Always put your email address in the document so that people
  337. can contact you if there are problems.  Usually at the end.
  338.  
  339. 2.  If the document is under development, say so, and try to
  340. indicate what you will be adding and when.
  341.  
  342. 3.  Try to indicate the last time the document was updated, so
  343. that people viewing it for a second time can tell if it has
  344. changed since they last viewed it.
  345.  
  346. 4.  Write the document so that it is context-free.  If it is not
  347. context free then it probably should not be a separate document.
  348.  
  349. 5.  If a document is less than half a screen, and probably not
  350. going to grow, then it probably should be part of another
  351. document - don't create separate documents for the hell of it.
  352.  
  353. 6.  Avoid large inlined graphics - include a thumbnail version
  354. which is a link to the full size image.
  355.  
  356. 7. NEVER, NEVER, NEVER write: 
  357.  
  358.       Click _here_ for reviews of the latest movies.
  359.  
  360.    this is very bad, do not draw attention to the links, try something like: 
  361.  
  362.       Check out _reviews_of_the_latest_movies_.
  363.  
  364. 8.  If the document is actually split into separate "topic"
  365. files, include a Table of Contents and links on each separate
  366. topic to the TOC, previous and next topic to allow easy traversal
  367. of the document.
  368.  
  369. 9. TEST IT. Check all the links work! 
  370.  
  371. 10.  Information can become stale very quickly.  The Web is very
  372. volatile, and links to other documents may become out of date.
  373. Try to keep your documents up to date, by periodically testing
  374. and updating.
  375.  
  376.  
  377.  
  378.